<?php
include_once('../core/core.php');
$id = id();
$limit = param('limit',20);
$offset = param('offset',0);
$before = param('before',0);
$arr = array(
    'rid' => $id,
    'limit' => $limit,
    'offset' => $offset,
    'beforeTime'=> $before,
);
echo request('https://music.163.com/weapi/v1/resource/comments/R_SO_4_'.$id,$arr,false);